import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createVuetify } from 'vuetify'
import 'vuetify/styles'
import * as components from 'vuetify/components' // 全量导入组件
import * as directives from 'vuetify/directives' // 全量导入指令
import * as Cesium from 'cesium';

let key = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI3NmYzMzU2MC0xY2EyLTQ4NWUtODQ0Yy00MDRiZTQ3NGQ1YTEiLCJpZCI6MzM3NzYxLCJpYXQiOjE3NTY4NjgyNzF9.ctKm4VzAAKZU22aIRbAUs6DBwQHDfmuAoCcDvZIXnas";
Cesium.Ion.defaultAccessToken = key;

// 创建 Vuetify 实例（全量导入）
const vuetify = createVuetify({
    components, // 全量导入所有组件
    directives, // 全量导入所有指令
})

const app = createApp(App)
app.use(ElementPlus)
app.use(vuetify)
app.mount('#app')
